package com.yuanfeng.userms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.commoms.dto.userms.ShopYgUserInfoDTO;
import com.yuanfeng.commoms.vo.fx.ShareGoodsVO;
import com.yuanfeng.userms.entity.UserYgInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName UserYgInfoMapper
 * @Description 店铺员工表
 * @Author cyp
 * @Date 2023-06-05 13:48:45
 * @Version 1.0
 **/
@Mapper
public interface UserYgInfoMapper extends BaseMapper<UserYgInfoEntity> {

    /**
     * 跟更新员工数据
     * @param shareGoodsList
     */
    void updateUserShareOrder(@Param("shareGoodsList")List<ShareGoodsVO> shareGoodsList);

    ShopYgUserInfoDTO queryYgByUserId(String userId);
}
